// import { GithubOutlined } from '@ant-design/icons';
import { DefaultFooter } from '@ant-design/pro-layout';
const Footer: React.FC = () => {
  const defaultMessage = '西安咪乐多软件开发有限公司出品';

  const currentYear = new Date().getFullYear();

  return (
    <>
      <DefaultFooter
        copyright={`${currentYear} ${defaultMessage}`}
        links={[
          {
            key: 'LvaCMS 2.0',
            title: 'LvaCMS 2.0',
            href: 'https://www.lvacms.cn',
            blankTarget: true,
          },
          // {
          //   key: 'github',
          //   title: <GithubOutlined />,
          //   href: 'https://github.com/ant-design/ant-design-pro',
          //   blankTarget: true,
          // },
          {
            key: '码云地址',
            title: '码云地址',
            href: 'https://gitee.com/song-bo/lva-cms2.0',
            blankTarget: true,
          },
        ]}
      />
    </>
  );
};

export default Footer;
